
<div id="locked">

	{if $user_id eq ""}

	  <img src="images/login.png" class="shakeimage" onMouseover="init(this);rattleimage()" onMouseout="stoprattle(this);top.focus()" onClick="top.focus()"/>
	  <br/>
	  <p class="singleLine">Login please</p>
	  <br/><br/>
      <form method="POST" action="loginscript.php">
      	<table>
      		<tr>
      		   <td>E-mail: </td>
      		   <td><input type="text" size="15" name="email" value="{$email}"></input></td>
      		   <td>{$emailerr}</td>
      		</tr>	
      
      		<tr>
      		   <td>Password: </td>
      		   <td><input type="password" size="15" name="pass"></input></td>
      		   <td>{$passerr}</td>
      		</tr>	
      
      		<tr class = "alignButton">
      			<td></td>
      		   <td><input type="submit" size="7" value="Login"></input></td>
      		</tr>
      
      	</table>
      </form>
	{else}

		<img src="images/loggedin.png" class="shakeimage" onMouseover="init(this);rattleimage()" onMouseout="stoprattle(this);top.focus()" onClick="top.focus()">
		<br/>
	  <p class="singleLine">Already Logged In!</p>
	  <br/><br/>

	{/if}

</div>



